<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            <?php echo $this->lang->line('menu_lap_per_tanggal'); ?>
            <small><?php echo $this->lang->line('webname'); ?></small>
        </h1>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row">
            <!-- left column -->
            <div class="col-xs-12">
                <!-- general form elements -->
                <div class="box box-danger">
                    <div class="box-header">
                        <h3 class="box-title">
                            <?php echo $this->lang->line('pilih_tanggal'); ?>
                        </h3>
                    </div><!-- /.box-header -->
                    <!-- form start -->
                    <?php echo form_open('laporans/laporan_per_tanggal_pdf'); ?>
                    <div class="box-body">
                        <div class="form-group">
                            <label><?php echo $this->lang->line('tanggal_mulai'); ?></label>
                            <div class="input-group">
                                <div class="input-group-addon">
                                    <i class="fa fa-calendar"></i>
                                </div>
                                <?php $now = strtotime(date("Y/m/d")); ?>
                                <input id="in_tanggal_mulai" name="in_tanggal_mulai" type="text" class="form-control" value="<?php echo set_value('in_tanggal_mulai', date('Y/m/d', strtotime('-1 month', $now))); ?>" />
                            </div><!-- /.input group -->
                        </div><!-- /.form group -->

                        <div class="form-group">
                            <label><?php echo $this->lang->line('tanggal_selesai'); ?></label>
                            <div class="input-group">
                                <div class="input-group-addon">
                                    <i class="fa fa-calendar"></i>
                                </div>
                                <input id="in_tanggal_selesai" name="in_tanggal_selesai" type="text" class="form-control" value="<?php echo set_value('in_tanggal_selesai', date('Y/m/d')); ?>" />
                            </div><!-- /.input group -->
                        </div><!-- /.form group -->
                    </div>
                </div><!-- /.box-body -->

                <div class="box-footer">
                    <input class="btn btn-primary" type="submit" name="btn_tambah" value="<?php echo $this->lang->line('cetak'); ?>" />
                    <?php echo anchor('homes/', $this->lang->line('batal'), array('class' => 'btn btn-success')); ?>
                </div>
                </form>
            </div><!-- /.box -->
        </div><!--/.col (right) -->
        </div>   <!-- /.row -->
    </section><!-- /.content -->
</aside><!-- /.right-side -->